import * as db from '../util/dbUtil'

const authKey = 'zdw_auth_token'

export function getAuth() {
  return db.get(authKey)
}

export function setAuth(token) {
  return db.set(authKey, token)
}

export function removeAuth() {
  return db.remove(authKey)
}
